<?php /* Smarty version Smarty-3.1.11, created on 2013-09-10 10:46:33
         compiled from "application\views\template\frontend\home.tpl" */ ?>
<?php /*%%SmartyHeaderCode:4695522947f1e3e253-78079281%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '48246365ceda68340486e9e92d8d7a9e8b3375a7' => 
    array (
      0 => 'application\\views\\template\\frontend\\home.tpl',
      1 => 1378784778,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '4695522947f1e3e253-78079281',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_522947f1eb2196_20545692',
  'variables' => 
  array (
    'user_info' => 0,
    'content' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_522947f1eb2196_20545692')) {function content_522947f1eb2196_20545692($_smarty_tpl) {?><!DOCTYPE html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Gamebank - Sàn giao dịch</title>
    <link rel="stylesheet" type="text/css" href="<?php echo base_url('layout/template/frontend/css/main.css');?>
">
    <link rel="stylesheet" type="text/css" href="<?php echo base_url('layout/template/frontend/css/style.css');?>
">
    <script src="<?php echo base_url('layout/template/frontend/js/ga.js');?>
" async="" type="text/javascript"></script>
    <script src="<?php echo base_url('layout/template/frontend/js/script.js');?>
" type="text/javascript"></script>
    <script type="text/javascript" charset="utf-8" src="<?php echo base_url('layout/template/frontend/js/dropdown.js');?>
"></script>
    <script type="text/javascript" src="<?php echo base_url('layout/template/frontend/js/function.js');?>
"></script>
    <script type="text/javascript" src="<?php echo base_url('layout/template/frontend/js/action.js');?>
"></script>
</head>
<body>
    <div align="center">
        <div class="bannerSite">
            <div class="bannerMain" align="left">
                <div class="logodiv" style="float:left;"><img src="<?php echo base_url('layout/template/frontend/images/logo.png');?>
"></div>
                <div style="float:right; margin-top:10px; margin-right:3px;"><a href="#" target="_blank"><img src="<?php echo base_url('layout/template/frontend/images/banner-top.png');?>
"></a></div>
            </div>
        </div>
        <div class="bgmenu" align="center">
            <div class="menuContain" align="left">
                <div class="homeIcon"></div>
                <ul id="nav">
                    <li>
                        <a href="#">
                            <div class="menu" style="width: 100px;">Trang Chủ</div>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <div style="" class="menu">Nạp tiền</div>
                        </a>
                        <ul style="visibility: hidden; display: block;">
                            <li><a href="#">&nbsp;Nạp tiền</a></li>
                            <li><a href="#">&nbsp;Rút tiền</a></li>
                            <li><a href="#">&nbsp;Chuyển tiền</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#">
                            <div class="menuthis" style="background-image:url(<?php echo base_url('layout/template/frontend/images/bgmenu_og.png');?>
);">Mua thẻ</div>
                        </a>
                        <ul style="visibility: hidden; display: block;">
                            <li><a href="#">&nbsp;Nạp Zing Xu</a></li>
                            <li><a href="#">&nbsp;Nạp Bạc Gate FPT</a></li>
                            <li><a href="#">&nbsp;Mã thẻ cào</a></li>
                            <li><a href="#">&nbsp;Topup điện thoại</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#">
                            <div class="menu" style="width: 130px;">Sàn giao dịch</div>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <div class="menu">Diễn Đàn</div>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <div class="menu">Lịch sử</div>
                        </a>
                        <ul>
                            <li><a href="#">&nbsp;Lịch sử </a></li>
                            <li><a href="#">&nbsp;Tra cứu thẻ nạp</a></li>
                            <li><a href="#">&nbsp;Tra cứu sản lượng</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#">
                            <div class="menu" style="border-right-width: 0px;">Tài khoản</div>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
        <div style="width:950px; height:19px; margin:0px; float:none; border-color:#F60; border-width:0px; border-style:solid; font-size:11px; text-align:left;">
            <div style="margin:1px;height:17px;">
                <div style="margin-right:1px; width:100px; padding:1px; padding-right:3px; padding-left:3px; float:left"></div>
                <a href="#">
                    <div style="color: rgb(57, 104, 215);" class="submenu">Nạp Zing Xu</div>
                </a>
                <a href="#">
                    <div style="color: rgb(57, 104, 215);" class="submenu">Mã thẻ cào</div>
                </a>
            </div>
        </div>
        <div style="width:950px; height:auto; margin-top:0px; float:none;">
            <div style="width:215px; height:540px; float:left;">
                <?php if (isset($_smarty_tpl->tpl_vars['user_info']->value)){?>
                <div id="loginContainer"><div id="loginformTop">
                        <div class="textformTop">Tài khoản</div>
                    </div>
                    <div class="loginformContain">
                        <div id="logedShowname"><?php echo $_smarty_tpl->tpl_vars['user_info']->value[0]->showname;?>
<span style="color:#F30;"></span></div>
                        <div class="text11tahoma" style="padding-top:5px; color:#666;" align="center">
                            <table width="195px" height="70px" border="0">
                                <tbody><tr>
                                        <td width="78">Tổng số tiền:</td>
                                        <td width="80" align="right"><span style="color:#060;font-weight:bold"><?php echo $_smarty_tpl->tpl_vars['user_info']->value[0]->coin;?>
</span></td>
                                        <td width="23" align="right">VNĐ</td>
                                    </tr>
                                    <tr>
                                        <td>Có thể sử dụng:</td>
                                        <td align="right"><span style="color:#03C;font-weight:bold"><?php echo $_smarty_tpl->tpl_vars['user_info']->value[0]->coinavailable;?>
</span></td>
                                        <td align="right">VNĐ</td>
                                    </tr>
                                    <tr>
                                        <td>Chờ giao dịch:</td>
                                        <td align="right"><span style="color:#F30;font-weight:bold"><?php echo $_smarty_tpl->tpl_vars['user_info']->value[0]->coinpending;?>
</span></td>
                                        <td align="right">VNĐ</td>
                                    </tr>
                                </tbody></table>
                            <div style="border-style:solid; border-color:#999; width:180px; border-width:1px; border-bottom:0;"></div>
                        </div>
                        <div class="text11tahoma" style="padding-top:7px;" align="left">
                            <div class="litxtbtomlogin"><img src="<?php echo base_url('layout/template/frontend/images/li.gif');?>
">&nbsp;&nbsp;<a href="http://id.gamebank.vn"><span id="changePass">Đổi mật khẩu</span></a></div>
                            <div class="litxtbtomlogin"><img src="<?php echo base_url('layout/template/frontend/images/li.gif');?>
">&nbsp;&nbsp;<a href="http://id.gamebank.vn"><span id="infoAcc">Thông tin tài khoản</span></a></div>
                            <div class="litxtbtomlogin"><img src="<?php echo base_url('layout/template/frontend/images/li.gif');?>
">&nbsp;&nbsp;<a href="<?php echo base_url('home/logout');?>
"><span id="logout">Thoát</span></a></div>
                        </div>
                    </div></div>
                <?php }else{ ?>
                <div id="loginContainer">
                    <div id="loginformTop">
                        <div class="textformTop">
                            Đăng nhập
                        </div>
                        <div id="Loginloading" class="loading" style="top:15px;"><img id="imgloading" src="<?php echo base_url('layout/template/frontend/images/ajax_load.gif');?>
"></div>
                    </div>
                    <div id="LoginContainFrm" class="loginformContain">
                        <form name="loginFrm" id="loginFrm" method="post" action="<?php echo base_url();?>
" target="iframe-temp">
                            <div id="pageContent" align="center">Chưa có tài khoản ? <a href="#" target="_blank"> <span style="color:#F30;">Đăng ký ngay</span></a></div>
                            <div class="text11tahoma" style="padding-top:10px;" align="left">&nbsp;&nbsp;Sử dụng mật khẩu cấp 1 Gamebank</div>
                            <div style="padding-top:10px;" align="center">
                                <input name="username" id="uname-login" size="25" value="&nbsp;Username" style="width:170px; height:20px; border-width:1px; border-style:solid; border-color:#999; background-color:#FFF;" type="text">
                            </div>
                            <div style="padding-top:10px;" align="center">
                                <input name="password" id="pword-login" value="&nbsp;password" style="width:170px; height:20px; border-width:1px; border-style:solid; border-color:#999; background-color:#FFF;" type="password">
                            </div>
                            <div style="padding-top:10px;" align="center"><input name="sbm" value="1" type="hidden">
                                <input src="<?php echo base_url('layout/template/frontend/images/DangnhapButton.png');?>
" name="dangnhapbutton" id="dangnhapbutton" value="Đăng Nhập" type="image">
                            </div>
                            <div class="text11tahoma" style="padding-top:7px;" align="left">&nbsp;&nbsp;<a href="#" target="_blank">Quên tên đăng nhập ?</a> <a href="#" target="_blank">Quên mật khẩu</a></div>
                        </form>
                    </div>
                </div>
                <?php }?>
                <div id="loginformTop" style="margin-top:15px;">
                    <div class="textformTop">
                        Liên hệ - Hỗ trợ
                    </div>
                </div>
                <div class="loginformContain" style="height:200px;" align="center">
                    <div style="margin-top:7px; height:25px;">
                        <div style="float:left;margin-left:5px; background-color:#CCC;">
                            <a href="ymsgr:sendIM?gamebankvn">
                                <div id="yahooOnline"></div>
                            </a>
                        </div>
                    </div>
                    <div class="divhr" style="width:200px;"></div>
                    <div style="margin:5px 0px 5px 0px;">
                        <!--Live Support Code-->
                        <div id="ls"><a href="#"><img src="<?php echo base_url('layout/template/frontend/images/Online3.png');?>
"></a></div>
                        <script language="javascript" type="text/javascript">
                            var imgOnline = "http://gamebank.vn/livesupport/images/Online3.png";
                            var imgOffline = "http://gamebank.vn/livesupport/images/Offline3.png";
                            var linkLS = "javascript:void(window.open('http://gamebank.vn/livesupport/chat.php?code=U0VSVkVSUEFHRQ__','','width=590,height=610,left=0,top=0,resizable=yes,menubar=no,location=yes,status=yes,scrollbars=yes'))";
                            
                            var d = new Date();
                            
                            var curr_hour = d.getHours();
                            var curr_min = d.getMinutes();
                            var source = document.getElementById("ls");
                            
                            if ((curr_hour >= 8 && curr_hour < 17) || (curr_hour == 17 && curr_min <= 30))	
                            {		
                                source.innerHTML = "<a href=\"" + linkLS + "\"><img src='" + imgOnline +"'/></a>";		
                            }
                            else 
                                source.innerHTML = "<img src='" + imgOffline +"'/>";		
                            
                        </script>
                        <!-- End Live Support-->
                    </div>
                    <div class="divhr" style="width:200px;"></div>
                    <div class="text11tahoma" align="left">
                        <div style="margin-top:7px; height:17px;">
                            <div style="float:left; margin-left:5px;">Trụ sở tại <strong>Hà Nội</strong>:</div>
                            <div style="float:right; margin-right:5px;"><a href="#" title="Bản đồ trụ sở Gamebank tại TPHCM" target="_blank">Bản đồ</a></div>
                        </div>
                        <div style="margin-left:20px;height:17px;">
                            <div class="homeMini"></div>
                            <div>&nbsp;Số 11 - Đồng Bông - Cầu Giấy</div>
                        </div>
                        <div class="mobiIcon"></div>
                        <div style="height:17px; float:left;">04-3.939.3464</div>
                        <div style="margin:0px 5px 0px 5px; float:right;">0966.915.905</div>
                    </div>
                    <div class="text11tahoma" align="left">
                        <div style="margin-top:25px; height:17px;">
                            <div style="float:left; margin-left:5px;">Trụ sở tại <strong>TPHCM</strong>:</div>
                            <div style="float:right; margin-right:5px;"><a href="#" title="Bản đồ trụ sở Gamebank tại TPHCM" target="_blank">Bản đồ</a></div>
                        </div>
                        <div style="margin-left:20px;height:17px;">
                            <div class="homeMini"></div>
                            <div> 41/4 Ngô Quyền - P6 - Q10</div>
                        </div>
                        <div class="mobiIcon"></div>
                        <div style="height:17px; float:left;">08-3.853.3456</div>
                        <div style="margin:0px 5px 0px 5px; float:right;">0966.915.904</div>
                    </div>
                </div>
                <div style="padding-top:15px">
                    <div style="height:auto;padding:0" align="center"><a href="#" title="Hướng dẫn dịch vụ Gamebank"> <img src="<?php echo base_url('layout/template/frontend/images/Huongdan.png');?>
" alt="Hướng dẫn dịch vụ Gamebank"></a></div>
                </div>
            </div>
            <?php if (isset($_smarty_tpl->tpl_vars['content']->value)){?>
                <?php echo $_smarty_tpl->tpl_vars['content']->value;?>

            <?php }?>
        </div>
    </div>
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
        <tbody>
            <tr>
                <td>
                    <div style="height:100px; background-image:url(<?php echo base_url('layout/template/frontend/images/bgfooter.png');?>
); margin-top:15px;" align="center">
                        <div style=" width:950px; height:90px; font-family:Arial; font-size:12px; color:#333; padding-top:7px;" align="left">
                            <div style="height:18px;">Copyright © 2008 Gamebank</div>
                            <div style="height:18px;">Công ty Cổ phần Công Nghệ Thương Mại Điện Tử RNG</div>
                            <div style="height:18px;"><strong>Trụ sở Hà Nội:</strong> Số 11 - Đồng Bông - P.Dịch Vọng Hậu - Q.Cầu Giấy - Hà Nội &nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;Tel: 04-3.939.3464.</div>
                            <div style="height:18px;"><strong>Trụ sở TP.HCM:</strong> 41/4 Ngô Quyền - Phường 6 - Quận 10 - TP HCM &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;Tel: 08-3.853.3456</div>
                            <div style="height:18px;">Hotline: 0966.915.905 &nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp; Email: contact@gamebank.vn</div>
                        </div>
                    </div>
                </td>
            </tr>
        </tbody>
    </table>
    <span id="WebRankTracker" style="display:none;">
        <a href="#">
            <a class="AlexaSiteStatsWidget" href="#">
                <img alt="" border="0">
            </a>
        </a>
    </span>
    <iframe name="iframe-temp" style	= "
    position:absolute;
    width:	0;
    height:	0;
    border: none;
    padding: 0;
    margin: 0
    "></iframe>
</body>
</html><?php }} ?>